var chargeGridReader = new Ext.data.JsonReader(
			{
				root : 'list',
				totalProperty : 'totalCount',
				id : 'id',
				successProperty : '@success'
			}, 
			[ {
				name : 'projectservicefeeid',
				mapping : 'projectservicefeeid'
			}, {
				name : 'projectnumber',
				mapping : 'projectnumber'
			}, {
				name : 'projectname',
				mapping : 'projectname'
			}, {
				name : 'undertakeunit',
				mapping : 'undertakeunit'
			}, {
				name : 'projectdirector',
				mapping : 'projectdirector'
			}, {
				name : 'whethercharges',
				mapping : 'whethercharges'
			}, {
				name : 'chargemoney',
				mapping : 'chargemoney'
			}, {
				name : 'chargeabledate',
				mapping : 'chargeabledate'
//				convert : function(v) {  
//                	return v.date+'-'+v.month+'-'+v.year;  
//             }  
			}, {
				name : 'chargeableform',
				mapping : 'chargeableform'
			}, {
				name : 'invoicemark',
				mapping : 'invoicemark'
			}, {
				name : 'marknumber',
				mapping : 'marknumber'
			}, {
				name : 'feenote',
				mapping : 'feenote'
			}, {
				name : 'sparefield1',
				mapping : 'sparefield1'
			}, {
				name : 'sparefield2',
				mapping : 'sparefield2'
			}, {
				name : 'sparefield3',
				mapping : 'sparefield3'
			}]);

var MyStore = function(){
		MyStore.superclass.constructor.call(this, {
	        proxy: new Ext.data.HttpProxy({
	            url: 'projectManage/chargeManageAction!getAllProjectFee'
	        }),
	        reader : chargeGridReader,
			pageSize : 20
	    });

};
Ext.extend(MyStore, Ext.data.Store);


